package com.wbk.lottery.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LotteryVO implements Serializable {

    @ApiModelProperty(value = "抽奖活动id")
    private Integer id;

    @ApiModelProperty(value = "商家用户编号")
    private Long storeUserNo;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dueTime;

    @ApiModelProperty(value = "抽奖标题")
    private String lotteryTitle;

    @ApiModelProperty(value = "抽奖介绍")
    private String lotteryExplain;

    @ApiModelProperty(value = "抽奖状态(0:未开奖;1:已开奖)")
    private Byte lotteryStatus;

    @ApiModelProperty(value = "最低参与人数")
    private Integer minimumPerson;

    @ApiModelProperty(value = "审核状态(0:待审核,1:审核通过,-1:审核不通过)")
    private Byte auditStatus;

    @ApiModelProperty(value = "审核意见")
    private String auditOpinion;

}
